import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Showcase from '../components/Showcase';

export default class RecommendedComponent extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
      <Showcase
        name="推荐"
        allEntryLink="works/all/featured"
        workList={this.props.workList}
      />
    );
  }

  static get propTypes() {
    return {
      workList: PropTypes.array
    }
  }
}
